package com.wechat.backend.service;

import com.wechat.backend.entity.Message;

import java.util.List;
import java.util.Map;

public interface MessageService {
    List<Message> getHistory(Integer userId, Integer friendId);
    Map<String, Object> getUnreadCount(Integer userId, Integer friendId);
    Map<String, Object> markAllAsRead(Integer userId, Integer friendId);
    void saveMessage(Integer fromId, Integer toId, String content);
} 